package com.lagou.mapper;

import com.lagou.pojo.User;

import java.util.List;

/**
 * @Authther: mrwu
 * @date:2021/3/6-03
 * @Description:com.lagou.mapper
 */
public interface UserMapper {
    //查询所有用户
    public List<User> findAll() throws Exception;

    //根据条件进行用户查询
    public User findByCondition(User user) throws Exception;

    public List<User> findUserAndOrder() throws Exception;

    //根据条件删除
    public void deleteByCondition(User user) throws Exception;
    //更新用户
    public void updateUser(User user);
    //插入用户
    public void insertUser(User user);


}
